Implement the `links` manifest key
authorAlex Crichton <alex@alexcrichton.com>
Fri, 31 Oct 2014 17:49:04 +0000 (10:49 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 5 Nov 2014 19:37:34 +0000 (11:37 -0800)
commit87ad4426dd72ea52f172bbb1512328d1467e6eab
treea1988c90c1d2b4a451ad07b4b66e4b99abf4d42f
parentd9066f6eeac04013adf232dd7491b6cdd1ad54cb
Implement the `links` manifest key

This commit adds the `links` manifest key as a string of a C library which is
being linked to. This is passed as an argument to the build command when not
overridden. The implementation of overrides will come soon!
src/cargo/core/manifest.rs
src/cargo/ops/cargo_rustc/custom_build.rs
src/cargo/ops/cargo_rustc/links.rs [new file with mode: 0644]
src/cargo/ops/cargo_rustc/mod.rs
src/cargo/util/toml.rs
tests/test_cargo_compile_custom_build.rs